<template>
	<view>
		<view class="uni-padding-wrap uni-common-mt">
			<navigator url="/pages/components/navigate/navigate?title=navigate" hover-class="navigator-hover">
				<button type="default">跳转到新页面</button>
			</navigator>



			<navigator url="/pages/components/redirect/redirect?title=redirect" open-type="redirect">
				<button type="default">在当前页打开</button>
			</navigator>
			<navigator v-if="!hasLeftWin" url="/pages/tabBar/api/api" open-type="switchTab">
				<button type="default">跳转到Tab页面</button>
			</navigator>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				title: 'navigator',
				Account: 'zss',
				CID: '4444'

			}
		},
		methods: {
			

		}
	}
</script>

<style>

</style>